.def("join", &OptionApi::join)
.def("reqGetConnectionInfo", &OptionApi::reqGetConnectionInfo)
.def("reqUserLogin", &OptionApi::reqUserLogin)
.def("reqUserLogout", &OptionApi::reqUserLogout)
.def("reqUserPasswordUpdate", &OptionApi::reqUserPasswordUpdate)
.def("reqInputDeviceSerial", &OptionApi::reqInputDeviceSerial)
.def("reqOrderInsert", &OptionApi::reqOrderInsert)
.def("reqOrderAction", &OptionApi::reqOrderAction)
.def("reqExerciseInsert", &OptionApi::reqExerciseInsert)
.def("reqExerciseAction", &OptionApi::reqExerciseAction)
.def("reqLockInsert", &OptionApi::reqLockInsert)
.def("reqLockAction", &OptionApi::reqLockAction)
.def("reqCombOrderInsert", &OptionApi::reqCombOrderInsert)
.def("reqCombOrderAction", &OptionApi::reqCombOrderAction)
.def("reqCondOrderInsert", &OptionApi::reqCondOrderInsert)
.def("reqCondOrderAction", &OptionApi::reqCondOrderAction)
.def("reqCombExerciseInsert", &OptionApi::reqCombExerciseInsert)
.def("reqCombExerciseAction", &OptionApi::reqCombExerciseAction)
.def("reqInquiryMaxLockVolume", &OptionApi::reqInquiryMaxLockVolume)
.def("reqInquiryMaxCoverVolume", &OptionApi::reqInquiryMaxCoverVolume)
.def("reqInquirySplitCombMarginDifference", &OptionApi::reqInquirySplitCombMarginDifference)
.def("reqTransferFund", &OptionApi::reqTransferFund)
.def("reqTransferStockPosition", &OptionApi::reqTransferStockPosition)
.def("reqInquiryJZFund", &OptionApi::reqInquiryJZFund)
.def("reqInquiryBankAccountFund", &OptionApi::reqInquiryBankAccountFund)
.def("reqInquiryStockPosition", &OptionApi::reqInquiryStockPosition)
.def("reqQryExchange", &OptionApi::reqQryExchange)
.def("reqQryMarketData", &OptionApi::reqQryMarketData)
.def("reqQrySecurity", &OptionApi::reqQrySecurity)
.def("reqQryBUProxy", &OptionApi::reqQryBUProxy)
.def("reqQryUser", &OptionApi::reqQryUser)
.def("reqQryInvestor", &OptionApi::reqQryInvestor)
.def("reqQryShareholderAccount", &OptionApi::reqQryShareholderAccount)
.def("reqQryTradingAccount", &OptionApi::reqQryTradingAccount)
.def("reqQryOrder", &OptionApi::reqQryOrder)
.def("reqQryTrade", &OptionApi::reqQryTrade)
.def("reqQryPosition", &OptionApi::reqQryPosition)
.def("reqQryTradingFee", &OptionApi::reqQryTradingFee)
.def("reqQryInvestorTradingFee", &OptionApi::reqQryInvestorTradingFee)
.def("reqQryInvestorMarginFee", &OptionApi::reqQryInvestorMarginFee)
.def("reqQryOrderFundDetail", &OptionApi::reqQryOrderFundDetail)
.def("reqQryFundTransferDetail", &OptionApi::reqQryFundTransferDetail)
.def("reqQryPositionTransferDetail", &OptionApi::reqQryPositionTransferDetail)
.def("reqQryOrderAction", &OptionApi::reqQryOrderAction)
.def("reqQryStockPosition", &OptionApi::reqQryStockPosition)
.def("reqQryLock", &OptionApi::reqQryLock)
.def("reqQryExercise", &OptionApi::reqQryExercise)
.def("reqQryLockPosition", &OptionApi::reqQryLockPosition)
.def("reqQryExerciseAction", &OptionApi::reqQryExerciseAction)
.def("reqQryLockAction", &OptionApi::reqQryLockAction)
.def("reqQryStockPositionTransferDetail", &OptionApi::reqQryStockPositionTransferDetail)
.def("reqQryTradingNotice", &OptionApi::reqQryTradingNotice)
.def("reqQryStockDisposal", &OptionApi::reqQryStockDisposal)
.def("reqQryStockDisposalAction", &OptionApi::reqQryStockDisposalAction)
.def("reqQryCondOrder", &OptionApi::reqQryCondOrder)
.def("reqQryCondOrderAction", &OptionApi::reqQryCondOrderAction)
.def("reqQryInvestorLimitPosition", &OptionApi::reqQryInvestorLimitPosition)
.def("reqQryInvestorLimitAmount", &OptionApi::reqQryInvestorLimitAmount)
.def("reqQryCombOrderAction", &OptionApi::reqQryCombOrderAction)
.def("reqQryCombOrder", &OptionApi::reqQryCombOrder)
.def("reqQryCombPosition", &OptionApi::reqQryCombPosition)
.def("reqQryCombPosDetail", &OptionApi::reqQryCombPosDetail)
.def("reqQryExerciseAppointment", &OptionApi::reqQryExerciseAppointment)
.def("reqQryInsufficientCoveredStockPosition", &OptionApi::reqQryInsufficientCoveredStockPosition)
.def("reqQryCombSecurity", &OptionApi::reqQryCombSecurity)
.def("reqQryCombExercise", &OptionApi::reqQryCombExercise)
.def("reqQryCombExerciseAction", &OptionApi::reqQryCombExerciseAction)

.def("onFrontConnected", &OptionApi::onFrontConnected)
.def("onFrontDisconnected", &OptionApi::onFrontDisconnected)
.def("onRspError", &OptionApi::onRspError)
.def("onRspGetConnectionInfo", &OptionApi::onRspGetConnectionInfo)
.def("onRspUserLogin", &OptionApi::onRspUserLogin)
.def("onRspUserLogout", &OptionApi::onRspUserLogout)
.def("onRspUserPasswordUpdate", &OptionApi::onRspUserPasswordUpdate)
.def("onRspInputDeviceSerial", &OptionApi::onRspInputDeviceSerial)
.def("onRspOrderInsert", &OptionApi::onRspOrderInsert)
.def("onRtnOrder", &OptionApi::onRtnOrder)
.def("onErrRtnOrderInsert", &OptionApi::onErrRtnOrderInsert)
.def("onRspOrderAction", &OptionApi::onRspOrderAction)
.def("onErrRtnOrderAction", &OptionApi::onErrRtnOrderAction)
.def("onRtnTrade", &OptionApi::onRtnTrade)
.def("onRspExerciseInsert", &OptionApi::onRspExerciseInsert)
.def("onRtnExercise", &OptionApi::onRtnExercise)
.def("onErrRtnExerciseInsert", &OptionApi::onErrRtnExerciseInsert)
.def("onRspExerciseAction", &OptionApi::onRspExerciseAction)
.def("onErrRtnExerciseAction", &OptionApi::onErrRtnExerciseAction)
.def("onRspLockInsert", &OptionApi::onRspLockInsert)
.def("onRtnLock", &OptionApi::onRtnLock)
.def("onErrRtnLockInsert", &OptionApi::onErrRtnLockInsert)
.def("onRspLockAction", &OptionApi::onRspLockAction)
.def("onErrRtnLockAction", &OptionApi::onErrRtnLockAction)
.def("onRtnStockDisposal", &OptionApi::onRtnStockDisposal)
.def("onRspCombOrderInsert", &OptionApi::onRspCombOrderInsert)
.def("onRtnCombOrder", &OptionApi::onRtnCombOrder)
.def("onErrRtnCombOrderInsert", &OptionApi::onErrRtnCombOrderInsert)
.def("onRspCombOrderAction", &OptionApi::onRspCombOrderAction)
.def("onErrRtnCombOrderAction", &OptionApi::onErrRtnCombOrderAction)
.def("onRspCondOrderInsert", &OptionApi::onRspCondOrderInsert)
.def("onRtnCondOrder", &OptionApi::onRtnCondOrder)
.def("onErrRtnCondOrderInsert", &OptionApi::onErrRtnCondOrderInsert)
.def("onRspCondOrderAction", &OptionApi::onRspCondOrderAction)
.def("onErrRtnCondOrderAction", &OptionApi::onErrRtnCondOrderAction)
.def("onRspCombExerciseInsert", &OptionApi::onRspCombExerciseInsert)
.def("onRtnCombExercise", &OptionApi::onRtnCombExercise)
.def("onErrRtnCombExerciseInsert", &OptionApi::onErrRtnCombExerciseInsert)
.def("onRspCombExerciseAction", &OptionApi::onRspCombExerciseAction)
.def("onErrRtnCombExerciseAction", &OptionApi::onErrRtnCombExerciseAction)
.def("onRspInquiryMaxLockVolume", &OptionApi::onRspInquiryMaxLockVolume)
.def("onRspInquiryMaxCoverVolume", &OptionApi::onRspInquiryMaxCoverVolume)
.def("onRspInquirySplitCombMarginDifference", &OptionApi::onRspInquirySplitCombMarginDifference)
.def("onRspTransferFund", &OptionApi::onRspTransferFund)
.def("onRtnTransferFund", &OptionApi::onRtnTransferFund)
.def("onErrRtnTransferFund", &OptionApi::onErrRtnTransferFund)
.def("onRtnTransferPosition", &OptionApi::onRtnTransferPosition)
.def("onErrRtnTransferPosition", &OptionApi::onErrRtnTransferPosition)
.def("onRspTransferStockPosition", &OptionApi::onRspTransferStockPosition)
.def("onRtnTransferStockPosition", &OptionApi::onRtnTransferStockPosition)
.def("onErrRtnTransferStockPosition", &OptionApi::onErrRtnTransferStockPosition)
.def("onRspInquiryJZFund", &OptionApi::onRspInquiryJZFund)
.def("onRspInquiryBankAccountFund", &OptionApi::onRspInquiryBankAccountFund)
.def("onRspInquiryStockPosition", &OptionApi::onRspInquiryStockPosition)
.def("onRtnMarketStatus", &OptionApi::onRtnMarketStatus)
.def("onRtnTradingNotice", &OptionApi::onRtnTradingNotice)
.def("onRspQryExchange", &OptionApi::onRspQryExchange)
.def("onRspQryMarketData", &OptionApi::onRspQryMarketData)
.def("onRspQrySecurity", &OptionApi::onRspQrySecurity)
.def("onRspQryBUProxy", &OptionApi::onRspQryBUProxy)
.def("onRspQryUser", &OptionApi::onRspQryUser)
.def("onRspQryInvestor", &OptionApi::onRspQryInvestor)
.def("onRspQryShareholderAccount", &OptionApi::onRspQryShareholderAccount)
.def("onRspQryTradingAccount", &OptionApi::onRspQryTradingAccount)
.def("onRspQryOrder", &OptionApi::onRspQryOrder)
.def("onRspQryTrade", &OptionApi::onRspQryTrade)
.def("onRspQryPosition", &OptionApi::onRspQryPosition)
.def("onRspQryTradingFee", &OptionApi::onRspQryTradingFee)
.def("onRspQryInvestorTradingFee", &OptionApi::onRspQryInvestorTradingFee)
.def("onRspQryInvestorMarginFee", &OptionApi::onRspQryInvestorMarginFee)
.def("onRspQryOrderFundDetail", &OptionApi::onRspQryOrderFundDetail)
.def("onRspQryFundTransferDetail", &OptionApi::onRspQryFundTransferDetail)
.def("onRspQryPositionTransferDetail", &OptionApi::onRspQryPositionTransferDetail)
.def("onRspQryOrderAction", &OptionApi::onRspQryOrderAction)
.def("onRspQryStockPosition", &OptionApi::onRspQryStockPosition)
.def("onRspQryLock", &OptionApi::onRspQryLock)
.def("onRspQryExercise", &OptionApi::onRspQryExercise)
.def("onRspQryLockPosition", &OptionApi::onRspQryLockPosition)
.def("onRspQryExerciseAction", &OptionApi::onRspQryExerciseAction)
.def("onRspQryLockAction", &OptionApi::onRspQryLockAction)
.def("onRspQryStockPositionTransferDetail", &OptionApi::onRspQryStockPositionTransferDetail)
.def("onRspQryTradingNotice", &OptionApi::onRspQryTradingNotice)
.def("onRspQryStockDisposal", &OptionApi::onRspQryStockDisposal)
.def("onRspQryStockDisposalAction", &OptionApi::onRspQryStockDisposalAction)
.def("onRspQryCondOrder", &OptionApi::onRspQryCondOrder)
.def("onRspQryCondOrderAction", &OptionApi::onRspQryCondOrderAction)
.def("onRspQryInvestorLimitPosition", &OptionApi::onRspQryInvestorLimitPosition)
.def("onRspQryInvestorLimitAmount", &OptionApi::onRspQryInvestorLimitAmount)
.def("onRspQryCombOrderAction", &OptionApi::onRspQryCombOrderAction)
.def("onRspQryCombOrder", &OptionApi::onRspQryCombOrder)
.def("onRspQryCombPosition", &OptionApi::onRspQryCombPosition)
.def("onRspQryCombPosDetail", &OptionApi::onRspQryCombPosDetail)
.def("onRspQryExerciseAppointment", &OptionApi::onRspQryExerciseAppointment)
.def("onRspQryInsufficientCoveredStockPosition", &OptionApi::onRspQryInsufficientCoveredStockPosition)
.def("onRspQryCombSecurity", &OptionApi::onRspQryCombSecurity)
.def("onRspQryCombExercise", &OptionApi::onRspQryCombExercise)
.def("onRspQryCombExerciseAction", &OptionApi::onRspQryCombExerciseAction)
;
